﻿using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;

namespace CarparkBusiness
{
    //internal class Program
    //{
    //    static void Main(string[] args)
    //    {
    //        Console.WriteLine("Hello World!");

    //        //Config Service
    //        var services = new ServiceCollection();
    //        TaskStartup.ConfigureServices(services);
    //        // 创建ServiceProvider
    //        var serviceProvider = services.BuildServiceProvider();
    //        var logger = serviceProvider.GetRequiredService<ILogger<Program>>();

    //        var Configuration = TaskStartup.ReadFromAppSettings();
    //        var globalConfig = Configuration.GetSection("globalConfig").Get<GlobalConfigFromAppSetting>();
    //    }
    //}
}
